package com.shenyi.shop.api;

import com.shenyi.shop.entity.CartDO;

import java.util.List;
import java.util.Map;

/**
 * @author richard.fan
 * @version 1.0
 * @date 2018/11/05
 * @desc
 * @see
 * @since 1.0
 */
public interface ICartService {

    CartDO queryObject(Integer id);

    List<CartDO> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    void save(CartDO cart);

    void update(CartDO cart);

    void delete(Integer id);

    void deleteBatch(Integer[] ids);
}
